package zry.User;

import zry.Operate.FinalReview;
import zry.Operate.Search;

import java.util.Scanner;

public class AdministratorUser {
    //
    public void AdministratorAchievementSystem()
    {
        System.out.println("——————————————————————\n欢迎使用成果认定子系统");
        label:
        while (true) {
            System.out.println("——————————————————————\n请输入需要的操作");
            System.out.println("1.查看所有学生的成果认定情况");
            System.out.println("2.查看某条申请的详细内容");
            System.out.println("3.终审");
            System.out.println("4.退出成果认定子系统");
            Scanner scanner = new Scanner(System.in);
            String input = scanner.nextLine();
            switch (input) {
                case "1":
                    new Search().searchAllAchievement();
                    break;
                case "2":
                    new Search().searchAchievement();
                    break;
                case "3":
                    new FinalReview().FinalReview();
                    break;
                case "4":
                    break label;
                default:
                    System.out.println("输入错误，请重新输入");
                    break;
            }
        }
    }

}
